﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerSkillType.aspx.cs" Inherits="sysadmin_GradeManager_ManagerSkillType" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
 <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" language="javascript">
        function ShowNo()                        //隐藏两个层
        {
            document.getElementById("doing").style.display="none";
            document.getElementById("divLogin").style.display="none";
        }
        function $(id)         
        {
            return (document.getElementById) ? document.getElementById(id) : document.all[id] ;
        }
        function showFloat()                    //根据屏幕的大小显示两个层
        {
            var range = getRange();
            $('doing').style.width = range.width + "px";
            $('doing').style.height = range.height + "px";
            $('doing').style.display = "block";
            document.getElementById("divLogin").style.display="";
        }
        function getRange()                      //得到屏幕的大小
        {
              var top     = document.body.scrollTop;
              var left    = document.body.scrollLeft;
              var height  = document.body.clientHeight;
              var width   = document.body.clientWidth;

              if (top==0 && left==0 && height==0 && width==0) 
              {
                top     = document.documentElement.scrollTop;
                left    = document.documentElement.scrollLeft;
                height  = document.documentElement.clientHeight;
                width   = document.documentElement.clientWidth;
              }
              return  {top:top  ,left:left ,height:height ,width:width } ;
        } 
        function AutoColseAler()
        {
            showFloat();
            setTimeout("ShowNo()",3000);
        }
    </script>

</head>
<body class="bodymain">
    <form id="form1" runat="server">
       
        <table width="100%" border="0"  cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left">
                    <asp:Label ID="lbl_InfoTitle_ManagerDownType" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
        <br />
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="btnbg">
            <tr>
                <th >
                    <asp:Label ID="lbl_ManagerDownType" runat="server" Text=""></asp:Label>
                </th>
                <td >
                    <asp:TextBox ID="txt_DownTypeName" runat="server"></asp:TextBox>&nbsp;&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="" CssClass="inputBotton2" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnAddNew" runat="server" Text="" CssClass="inputBotton2" OnClick="btnAddNew_Click" /></td>
            </tr>
        </table>
        <asp:Repeater ID="rptDownType" runat="server" OnItemCommand="rptDownType_ItemCommand" OnItemDataBound="rpt_ItemDataBound">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                    <tr>
                        <th>
                             &nbsp;<%=GetLanageValueByKey("lab_AddSkill_SkillTypeName", PowerCreator.LMS.Language.LanagetItemType.Page)%></th>
                       <th> &nbsp;<%=GetLanageValueByKey("lab_AddSkill_SkillSumScore", PowerCreator.LMS.Language.LanagetItemType.Page)%></th>                          
                        <th>
                           &nbsp; <%=GetLanageValueByKey("btn_ManagerQuestion_Work", PowerCreator.LMS.Language.LanagetItemType.Page) %></th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("SkillTypeName")%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("SkillTypeScore")%>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;<asp:LinkButton ID="lnkbtn_editor" runat="server" CommandName="leditor" CommandArgument='<%#Eval("SkillTypeID")%>'> <%=GetLanageValueByKey("btn_ManagerQuestion_Edit", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>
                        <asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("SkillTypeID")%>'><%=GetLanageValueByKey("btn_ManagerQuestion_Delete", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>&nbsp;
                        <asp:LinkButton ID="lnkbtn_see" runat="server" Visible="true" CommandName="see" CommandArgument='<%#Eval("SkillTypeID")%>'><%=GetLanageValueByKey("btn_PaperList_xiangqing", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>
                        <asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourceKey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
        </form>
</body>
</html>
